<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>上下文（Context）选项和参数</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="closure.bindto.html">Closure::bindTo</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="context.socket.html">套接字上下文选项</a></div>
 <div class="up"><a href="langref.html">语言参考</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="context" class="reference">
 <h1 class="title">上下文（Context）选项和参数</h1>
 
 <div class="partintro">
  <p class="para">
   PHP 提供了多种上下文选项和参数，可用于所有的文件系统或数据流封装协议。上下文（Context）由
   <span class="function"><a href="function.stream-context-create.html" class="function">stream_context_create()</a></span> 创建。选项可通过
   <span class="function"><a href="function.stream-context-set-option.html" class="function">stream_context_set_option()</a></span> 设置，参数可通过
   <span class="function"><a href="function.stream-context-set-params.html" class="function">stream_context_set_params()</a></span> 设置。
  </p>
 </div>
 
 





 



 





 



 



 



 



 



 



 


 



 





 



 





 



 
<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="context.socket.html">套接字上下文选项</a> — 套接字上下文选项列表</li><li><a href="context.http.html">HTTP context 选项</a> — HTTP context 的选项列表</li><li><a href="context.ftp.html">FTP context options</a> — FTP context option listing</li><li><a href="context.ssl.html">SSL context options</a> — SSL context option listing</li><li><a href="context.curl.html">CURL context options</a> — CURL 上下文选项列表</li><li><a href="context.phar.html">Phar 上下文（context）选项</a> — Phar 上下文（context）选项列表</li><li><a href="context.params.html">Context 参数</a> — Context 参数列表</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="closure.bindto.html">Closure::bindTo</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="context.socket.html">套接字上下文选项</a></div>
 <div class="up"><a href="langref.html">语言参考</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
